github.com/hyperion-hyn/go-ethereum@v2.4.0+incompatible/docs/Privacy/Constellation/Installation & Running.md (about) 1 ## Installation 2 3 ### Prerequisites 4 5 1. Install supporting libraries: 6 - Ubuntu: `apt-get install libdb-dev libleveldb-dev libsodium-dev zlib1g-dev libtinfo-dev` 7 - Red Hat: `dnf install libdb-devel leveldb-devel libsodium-devel zlib-devel ncurses-devel` 8 - MacOS: `brew install berkeley-db leveldb libsodium` 9 10 ### Downloading precompiled binaries 11 12 Constellation binaries for most major platforms can be downloaded [here](https://github.com/jpmorganchase/constellation/releases). 13 14 ### Installation from source 15 16 1. First time only: Install Stack: 17 - Linux: `curl -sSL https://get.haskellstack.org/ | sh` 18 - MacOS: `brew install haskell-stack` 19 20 2. First time only: run `stack setup` to install GHC, the Glasgow 21 Haskell Compiler 22 23 3. Run `stack install` 24 25 ## Generating keys 26 27 1. To generate a key pair "node", run `constellation-node --generatekeys=node` 28 29 If you choose to lock the keys with a password, they will be encrypted using 30 a master key derived from the password using Argon2id. This is designed to be 31 a very expensive operation to deter password cracking efforts. When 32 constellation encounters a locked key, it will prompt for a password after 33 which the decrypted key will live in memory until the process ends. 34 35 ## Running 36 37 1. Run `constellation-node <path to config file>` or specify configuration 38 variables as command-line options (see `constellation-node --help`) 39 40 Please refer to the [Constellation client Go library](../constellation-go) 41 for an example of how to use Constellation.